
This sample project demonstrates the use of the PNGDIB library
used to read/write a PNG file into/from a TBitmap object.  This
library requires the libpng library, which requires the zlib
compression library (both are free, with source).  Both of
these libraries have been converted to BCB import libraries
(libpng.lib and zlib.lib, respectively) using IMPLIB.EXE.

For furture reference, here's what was done to make the 
libpng.lib and zlib.lib import libraries:

-------

 I. Make the zlib.lib import library: 

    (1) Go to the 'zlib\contrib\delphi2' folder and 
        build the project 'zlib.bpr' in the BCB IDE.  
      	This will yield the import library 'zlib.lib'.

    (2) Copy the file 'zlib.lib' to the 'zlib' folder.


 II. Make the libpng.lib impory library: 

    (1) Go to the 'lpng108\scripts' folder and copy
	the makefile 'makefile.bc32' to the 'lpng108'
	folder.

    (2) At a command prompt in the 'lpng108' directory,
	type: "make -f makefile.bc32" (without the 
	quotes).  For example:

 	   C:\PNG\lpng108\>make -f makefile.bc32

	This will yield the import library 'libpng.lib'.

-------

Once you have the libpng.lib and zlib.lib import libraries, 
simply place them in your project's library include path and 
'#pragma link' them in your code.


Good luck!

Damon C.  08/23/2000

updated by Paul Gustavson 08/30/2002
  